import React from "react";
import { Tabs } from 'antd';
import { Header } from "antd/lib/layout/layout";
import Mydata from "./ifm/Mydata";
import Message from "./ifm/Message";
import Jurisdiction from "./ifm/Jurisdiction";
const onChange = (key) => {
  // console.log(key);
};

function Information() {


  return (
    <>
      <Tabs
        defaultActiveKey="1"
        onChange={onChange}

        items={[
          {
            label: `基本资料`,
            key: '1',
            children: <Mydata />,
          },
          {
            label: `修改信息`,
            key: '2',
            // children: `nihao`,
            children: <Message />,
          },
          {
            label: `我的权限`,
            key: '3',
            // children:`afs`,
            children: <Jurisdiction />,
          },
        ]}

      >
      </Tabs>
      <span style={
        {
          position: 'absolute',
          top: '10px',
          right: '20px'

        }
      }>我的资料</span>
    </>

  )
}

export default Information